//
//  NetworkService.swift
//  XHWalletUtils
//
//  Created by xinph on 2020/5/16.
//  Copyright © 2020 xinph. All rights reserved.
//

import Foundation

protocol Configuration {
    
    /// 切换网络
    func `switch`()
}

protocol Service {
    
    /// 注册服务
    /// - Parameter e: 注册服务对象
    func register<E: Service>(_ e: E...)
}
